<?php
namespace Home\Controller;
use Think\Controller;
use Think\Page;

class IndexController extends CommonController {
  public function default_page(){
  	$push = M('Push');
  	$players = $push-> where('flag="player"')->limit(6)->order('orderby')->select();
  	$this->assign('players',$players);
    $this->display('Index/default');
  }

  public function index(){
  	
    $this->display('Index/index');
  }
	
}